# -*- coding:utf-8 -*-
# 编写两个老师类,
# 老师类一：琴棋书画，样样精通
# 老师类二：文韬武略，他啥都会
# 编写学生类继承两个老师的方法
class Teacher_One(object):
    def __init__(self):
        self.skills = "琴棋书画，样样精通"

    def skill_one(self):
        print(f"老师一的技能是{self.skills}")


class Teacher_Two(object):
    def __init__(self):
        self.skill = "文韬武略，他啥都会"

    def skill_two(self):
        print(f"老师一的技能是{self.skill}")


class Student(Teacher_One, Teacher_Two):
    def __init__(self):
        Teacher_One.__init__(self)
        Teacher_Two.__init__(self)


func = Student()
print(func.skills)
print(func.skill)
